package com.example.vo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

import java.security.PrivateKey;

@Getter
@ToString
@AllArgsConstructor  //全参构造

public enum RespBeanEnum {


    Success(200, "SUCCESS"),
    ERROR(500, "服务异常"),
    BIND_ERROR(500, "绑定异常"),
    EMPTY_ERROR(505, "库存不足");

    private final Integer code;
    private final String message;

}
